package com.like.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.like.hospitalworld.R;

public class ActivityListViewAdapter extends BaseAdapter {
    private Context context;
    private LayoutInflater inflater;

    public ActivityListViewAdapter(Context context) {
        this.context = context;
        inflater = LayoutInflater.from(context);
    }

    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        ViewHolder view;
        if (convertView == null) {
            view = new ViewHolder();
            convertView = inflater.inflate(R.layout.item_activity, null);
            convertView.setTag(view);
        } else {
            view = (ViewHolder) convertView.getTag();
        }
        return convertView;
    }

    public class ViewHolder {
    }
}
